package com.cnpc.ds.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.*;

/**
 * 常规通用sql
 */
@Mapper
public interface CommMapper {

    @Update("delete from ${tableName} ${ew.customSqlSegment} ")
    void deleteBySqlSegment(String tableName,@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
